ShortPixel\Controller\FileSystemController B

Total Complexity 99
Dependencies 6
Dependents 2
Total lines 540
Lines of code 319
Logical lines of code 189
Comment lines 111
Methods 24
Properties 3

Methods 24

Method Rating Maintainability Complexity Lines of code
pathToUrl()
B
40 21 54
getBackupDirectory()
A
48 10 32
getMediaImage()
A
53 8 23
pathIsUrl()
S
61 9 10
returnOldSubDir()
S
52 6 23
getWPAbsPath()
S
55 5 20
flushImage()
S
60 5 13
sortFiles()
S
58 4 16
getCustomImage()
S
62 4 12
url_exists()
S
57 3 18
getImage()
S
59 3 16
getFilesRecursive()
S
61 3 13
getWPFileBase()
S
61 3 12
checkURL()
S
64 3 10
endTrustedMode()
S
70 2 7
startTrustedMode()
S
70 2 7
__construct()
S
80 1 3
checkBackUpFolder()
S
73 1 5
getFile()
S
80 1 3
getDirectory()
S
80 1 3
getOriginalImage()
S
72 1 5
getCustomStub()
S
73 1 5
flushImageCache()
S
74 1 5
getWPUploadBase()
S
74 1 4